#pragma once

#include "SceneNode.h"

class BoardCell : public SceneNode
{
public:
//	BoardCell(void);
	BoardCell(std::wstring cellText);
public:
	~BoardCell(void);

	void SetEaten(bool eaten);
	bool IsEaten();

	void SetCellText(std::wstring cellText);
	std::wstring GetCellText();

	double GetCellNumber();

	void SetCellCenter(float x, float y, float z);
	D3DXVECTOR3 GetCellCenter();
protected:
	bool isEaten;
	std::wstring cellText; //the number that the cell displays when rendered
	D3DXVECTOR3 cellCenter; // the position of the cell's center in world space
};
